body {
  background: #f8f5fc;
}

.per-header {
  width: 100%;
  height: 2.6rem;
  line-height: 2.6rem;
  background: #fff;
  text-align: center;
  color: #e73e72;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
}

.back {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  color: #333;
  font-size: 20px !important;
}

.rel-content {
  /* padding: 10px; */
}

input[type="text"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  height: -webkit-calc(3em + 2px);
  height: calc(3em + 2px);
  margin: 0 0 1em;
  padding: 1em;
  border: 1px solid #cccccc;
  border-radius: 0.8em;
  background: #fff;
  resize: none;
  outline: none;
}

input[type="text"][required]:focus {
  border-color: #00bafa;
}

input[type="text"][required]:focus+label[placeholder]:before {
  color: #00bafa;
}

input[type="text"][required]:focus+label[placeholder]:before,
input[type="text"][required]:valid+label[placeholder]:before {
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transform: translate(0, -1.5em) scale(0.9, 0.9);
  -ms-transform: translate(0, -1.5em) scale(0.9, 0.9);
  transform: translate(0, -1.5em) scale(0.9, 0.9);
}

input[type="text"][required]:invalid+label[placeholder][alt]:before {
  content: attr(alt);
}

input[type="text"][required]+label[placeholder] {
  display: block;
  pointer-events: none;
  line-height: 2.3em;
  margin-top: -webkit-calc(-3em - 2px);
  margin-top: calc(-3em - 2px);
  margin-bottom: -webkit-calc((3em - 1em) + 2px);
  margin-bottom: calc((3em - 1em) + 2px);
}

input[type="text"][required]+label[placeholder]:before {
  content: attr(placeholder);
  display: inline-block;
  margin: 0 -webkit-calc(1em + 2px);
  margin: 0 calc(1em + 2px);
  padding: 0 2px;
  color: #898989;
  white-space: nowrap;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  background-image: -webkit-gradient(linear,
    left top,
    left bottom,
    from(#ffffff),
    to(#ffffff));
  background-image: -webkit-linear-gradient(top, #ffffff, #ffffff);
  background-image: linear-gradient(to bottom, #ffffff, #ffffff);
  -webkit-background-size: 100% 5px;
  background-size: 100% 5px;
  background-repeat: no-repeat;
  background-position: center;
}

.rel-submit {
  height: 2.6rem;
  line-height: 2.6rem;
  border-radius: 1.3rem;
  border: none;
  width: 40%;
  text-align: center;
  background: #fe4f86;
  color: #fff;
  font-size: 1rem;
  margin: 15px auto;
  position: absolute;
  left: 30%;
  outline: none;
}

.selectSex {
  margin-bottom: 16px;
  height: -webkit-calc(3em + 2px);
  height: calc(3em + 2px);
  padding: 1em;
  border: 1px solid #cccccc;
  border-radius: 0.8em;
  background: #fff;
  resize: none;
  outline: none;
}

/*上传图片通用样式*/

.upload-ul {
  position: relative;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  max-width: 520px;
}

.upload-ul li {
  position: relative;
  float: left;
  display: inline-block;
  width: 120px;
  height: 90px;
  margin: 0 10px 10px 0;
  padding: 0;
  border: none;
  cursor: pointer;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  overflow: hidden;
}

.upload-pick {
  background: url(../images/upload-bj.png) no-repeat 0 0;
}

.upload-pick:hover {
  background: url(../images/upload-bj.png) no-repeat 0 -90px;
}

.webuploader-pick {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 100%;
  height: 100%;
}

.webuploader-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.webuploader-container label {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

.webuploader-element-invisible {
  opacity: 0;
  width: 100%;
  height: 100%;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
}

.viewThumb {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0.3rem;
}

.viewThumb img {
  width: 100%;
  height: 100%;
}

.diyBar {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/bgblack.png);
  z-index: 3;
}

.diyProgress {
  position: absolute;
  left: 0;
  top: 33px;
  width: 100%;
  height: 24px;
  line-height: 24px;
  font-size: 14px;
  text-align: center;
  color: #fff;
  background: rgba(10, 168, 241, 0.7);
  z-index: 3;
}

.diyControl {
  position: absolute;
  display: none;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 24px;
  line-height: 24px;
  font-size: 14px;
  background: url(../images/bgblack.png);
  z-index: 3;
}

.viewThumb:hover .diyControl {
  display: block;
}

.diyControl span {
  display: inline-block;
  padding: 6.5px 13px;
  width: 12px;
  height: 11px;
}

.diyControl span i {
  display: block;
  width: 12px;
  height: 11px;
  opacity: 0.7;
}

.diyControl span i:hover {
  opacity: 1;
  cursor: pointer;
}

.diyLeft {
  margin-left: 3px;
}

.diyLeft {
  margin-right: 3px;
}

.diyLeft i {
  margin-left: 3px;
  background: url(../images/upload-icon1.png) no-repeat 0 0;
}

.diyCancel i {
  background: url(../images/upload-icon1.png) no-repeat 0 -11px;
}

.diyRight i {
  margin-right: 3px;
  background: url(../images/upload-icon1.png) no-repeat 0 -22px;
}

.goods-edit .upload-tip {
  font: 12px/23px "Microsoft YaHei";
  color: #a3a3a3;
  vertical-align: top;
}


.upLoad-imgID {
  color: #666;
  font-size: 14px;
  margin: -10px 0 10px 0;
  display: block;
}


.preID {
  display: flex;
  justify-content: space-around;
  margin-bottom: 15px;
}

.userID {
  width: 135px;
  height: 90px;
  position: relative;
}

.userID img {
  width: 100%;
  height: 100%;
}

.inputfile {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  border: 1px solid blue;
  opacity: 0;
}